package com.smart.model.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.smart.common.PageQueryRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Set;

/**
 * @author zhanghong
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel("项目周报请求模型")
public class ProjectWeeklyTaskRequest extends PageQueryRequest implements Serializable {
    @ApiModelProperty("年份的第几周")
    private Long weekNum;
    @ApiModelProperty("年份")
    private Long year;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("生效周开始时间")
    private Date startTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("生效周结束时间")
    private Date endTime;

    @ApiModelProperty("项目名称/编号/质量监督编码")
    private String keyWord;
    @ApiModelProperty("建设地点")
    private String streetCode;
    @ApiModelProperty("施工状态")
    private String projectStatus;
    @ApiModelProperty("提报状态 0未提报 1已提报")
    private Integer reportStatus;

    @ApiModelProperty(name = "项目id集合: 数据库查询业务字段",hidden = true)
    private List<Long> projectIds;
    @ApiModelProperty(name = "任务id", hidden = true)
    private Long taskId;
}
